<*
local id = form.id
if id and tonumber(id) >= 1 and tonumber(id) <= 63 then
	local file = fileOpen ( "icons/" .. id .. ".png" )
	if file then
		while not fileIsEOF(file) do            
	        buffer = fileRead(file, 500)         
	        httpWrite(buffer, buffer:len())
	    end
	    fileClose(file)
		httpSetResponseHeader ( "content-type", "image/png")
	else
		*>
		Could not read file
		<*
	end
else
	*>
	Specify a valid ID between 1 and 63 inclusive
	<*
end
*>